export const baseUrlApi = (url: string) =>
  process.env.NODE_ENV === "development"
    ? `/api/${url}`
    : `https://zhenchuan.yulinmei.cn/${url}`;

export const getUploadUrl = baseUrlApi("api/document");
